package IO流;

import java.io.IOException;

public class Dir3 {
    public static void main(String[] args) throws IOException {
        Runtime run=Runtime.getRuntime();
        //window下的cmd命令
       // run.exec("cmd /k start https://www.baidu.com/");
        //run.exec("cmd /k start D:\\Tencent\\Bin\\QQ.exe");
    //删除目录 (空目录 非空目录都可以删除 )
        run.exec("cmd /k rd/S /Q c:\\abc");
    }
}
